{% extends 'base.html' %}
{% block content %}

<div class="row justify-content-center">
    <div class="col-md-6">
        <h3 class="mb-4">注册新账户</h3>
        <form method="post">
            <div class="mb-3">
                <label>用户名</label>
                <input type="text" name="username" class="form-control" required>
            </div>
            <div class="mb-3">
                <label>密码</label>
                <input type="password" name="password" class="form-control" required>
            </div>
            <div class="mb-3">
                <label>学号</label>
                <input type="text" name="student_id" class="form-control">
            </div>
            <div class="mb-3">
                <label>院系</label>
                <input type="text" name="department" class="form-control">
            </div>
            <div class="mb-3">
                <label>邮箱</label>
                <input type="email" name="email" class="form-control">
            </div>
            <div class="mb-3">
                <label>电话</label>
                <input type="text" name="phone" class="form-control">
            </div>
            <button type="submit" class="btn btn-primary w-100">注册</button>
        </form>
    </div>
</div>

{% endblock %}